package com.itheima.TestWork3;

public class Cat extends Animal {
    public Cat() {
    }

    public Cat(String name, int age) {
        super(name,age);
    }

    /*public static void main(String[] args) {
        Cat cat = new Cat();
        cat.eat();
    }*/

    @Override
    public void eat() {
        System.out.println("猫吃鱼");
    }
}
